package com.kingtop.base.model;

import org.kingtop.model.IRolePO;
import org.kingtop.mybatis.persistence.Column;
import org.kingtop.mybatis.persistence.Id;
import org.kingtop.mybatis.persistence.Table;

/**
 * 角色表
 * @author Administrator
 * @version 1.0
 * @created 2017-12-17 22:10:58
 */
@Table(name="T_BASE_ROLE")
public class BaseRole implements IRolePO {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1147061028293660885L;

	@Id
	@Column(name="ID")
	private Long id;
	
	/**
	*	角色名称
	*/
	@Column(name="ROLE_NAME")
	private String roleName;
	
	/**
	*	系统中使用的角色标识ROLE_SIGN
	*/
	@Column(name="ROLE_SIGN")
	private String roleSign;
	
	/**
	*	状态1：可用0：不可用
	*/
	@Column(name="STATUS")
	private int status;
	
	/**
	*	备注
	*/
	@Column(name="REMARK")
	private String remark;
	

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "BaseRole [id=" + id + ", roleName=" + roleName + ", roleSign=" + roleSign + ", status=" + status + ", remark=" + remark + "]";
	}

	public BaseRole(){
		
	}
	
	public void setId(Long id)
	{
		this.id = id;
	}
	
	public Long getId()
	{
		return this.id;
	}
	
	public void setRoleName(String roleName)
	{
		this.roleName = roleName;
	}
	
	public String getRoleName()
	{
		return this.roleName;
	}

	public void setRemark(String remark)
	{
		this.remark = remark;
	}
	
	public String getRemark()
	{
		return this.remark;
	}

	@Override
	public String getRoleSign() {
		return this.roleSign;
	}

	/**
	 * @param roleSign the roleSign to set
	 */
	public void setRoleSign(String roleSign) {
		this.roleSign = roleSign;
	}

	/**
	 * @return the status
	 */
	public int getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(int status) {
		this.status = status;
	}

}